package com.pet.review.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value="评论视图对象")
public class ReviewVO {
    @ApiModelProperty(value = "评论id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    private String photo;

    @ApiModelProperty(value = "内容")
    private String reviewText;

    @ApiModelProperty(value = "评分 1~5")
    private Integer rating;

    @ApiModelProperty(value = "评论时间")
    private LocalDateTime createdAt;


}
